package com.intramirror.wd.service;

import com.intramirror.wd.common.bean.R;
import com.intramirror.wd.model.test.Person;
import com.intramirror.wd.model.test.TestBean;
import com.intramirror.wd.spi.TestInterface;
import org.springframework.stereotype.Service;


@Service
public class TestInterfaceImpl implements TestInterface {
    @Override
    public R<Person> helloWorld(TestBean testBean) {

        Person p = new Person();
        p.setAge(18);
        p.setName("forever");

        return R.ok(p);
    }
}
